var stateObj = { foo: "bar" };

function change_my_url(page, url){
	if(BROWSER.ie){
		return false;
		url = '#!' + url;
	}
   	history.pushState(stateObj, page, url);
}

function pop_close(){
	$('popup_document_content').innerHTML = '';
	$('popup_document').style.display = 'none';
	
	if(!isUndefined($('space'))){
		$('space').style.overflow = "auto";
	}
	change_my_url('page 1',curentLocation);
}

function pic_onmouseover(id){
	var abse = document.getElementById(id);
	abse.style.display = '';
}

function pic_onmouseout(id){
	var abse = document.getElementById(id);
	abse.style.display = 'none';
}
/*
function show_pic(src, fid){
	var subsrc = '&inajax=1&feedid='+fid;
	src = src + subsrc;
	showid = document.getElementById('popup_document')
	var sTop = document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop;
	var cShow = document.getElementById('popup_document_content');
	if(!isUndefined($('space'))){
		$('space').style.overflow = "hidden";
	}
	$('loading_load').style.display = '';
	showid.style.display = '';
	showid.style.position = 'absolute';
	showid.style.margin = 'auto';
	showid.style.top = '3px';
	showid.style.textAlign = 'center';
	showid.style.overflow = 'auto';
	showid.style.top = (sTop + 30) + 'px';
	showid.style.overflowX = "hidden";
	cShow.style.margin = 'auto';
	cShow.style.textAlign = 'center';
	var x = new Ajax();
		x.get(src, function(s){
			cShow.innerHTML = s;
			$('loading_load').style.display = 'none';
	});
	showid.appendChild(cShow);
	showid.style.display = '';
	change_my_url('page 2',src);
	*/
}